package com.efast.dmom.mgmt.service.master.impl;
import java.util.List;

import com.efast.dmom.mgmt.dao.master.TmBasProductionLineDao;
import com.efast.dmom.mgmt.entity.master.TmBasProductionLine;
import com.efast.dmom.mgmt.service.master.TmBasProductionLineService;
import com.efast.dmom.mgmt.utils.Assist;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
@Service
public class TmBasProductionLineServiceImpl implements TmBasProductionLineService{
    @Autowired
    private TmBasProductionLineDao tmBasProductionLineDao;
    @Override
    public long getTmBasProductionLineRowCount(Assist assist){
        return tmBasProductionLineDao.getTmBasProductionLineRowCount(assist);
    }
    @Override
    public List<TmBasProductionLine> selectTmBasProductionLine(Assist assist){
        return tmBasProductionLineDao.selectTmBasProductionLine(assist);
    }
    @Override
    public TmBasProductionLine selectTmBasProductionLineByObj(TmBasProductionLine obj){
        return tmBasProductionLineDao.selectTmBasProductionLineByObj(obj);
    }
    @Override
    public TmBasProductionLine selectTmBasProductionLineById(Integer id){
        return tmBasProductionLineDao.selectTmBasProductionLineById(id);
    }
    @Override
    public int insertTmBasProductionLine(TmBasProductionLine value){
        return tmBasProductionLineDao.insertTmBasProductionLine(value);
    }
    @Override
    public int insertNonEmptyTmBasProductionLine(TmBasProductionLine value){
        return tmBasProductionLineDao.insertNonEmptyTmBasProductionLine(value);
    }
    @Override
    public int insertTmBasProductionLineByBatch(List<TmBasProductionLine> value){
        return tmBasProductionLineDao.insertTmBasProductionLineByBatch(value);
    }
    @Override
    public int deleteTmBasProductionLineById(Integer id){
        return tmBasProductionLineDao.deleteTmBasProductionLineById(id);
    }
    @Override
    public int deleteTmBasProductionLine(Assist assist){
        return tmBasProductionLineDao.deleteTmBasProductionLine(assist);
    }
    @Override
    public int updateTmBasProductionLineById(TmBasProductionLine enti){
        return tmBasProductionLineDao.updateTmBasProductionLineById(enti);
    }
    @Override
    public int updateTmBasProductionLine(TmBasProductionLine value, Assist assist){
        return tmBasProductionLineDao.updateTmBasProductionLine(value,assist);
    }
    @Override
    public int updateNonEmptyTmBasProductionLineById(TmBasProductionLine enti){
        return tmBasProductionLineDao.updateNonEmptyTmBasProductionLineById(enti);
    }
    @Override
    public int updateNonEmptyTmBasProductionLine(TmBasProductionLine value, Assist assist){
        return tmBasProductionLineDao.updateNonEmptyTmBasProductionLine(value,assist);
    }

    public TmBasProductionLineDao getTmBasProductionLineDao() {
        return this.tmBasProductionLineDao;
    }

    public void setTmBasProductionLineDao(TmBasProductionLineDao tmBasProductionLineDao) {
        this.tmBasProductionLineDao = tmBasProductionLineDao;
    }

}